#include <p18f46k22.h>
#include <usart.h>

#include "l70.h"

void init_gps_l70()
{
        unsigned char SET_NMEA_OUTPUT[] = "$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n";//set GGA & RMC output
        Open1USART(USART_TX_INT_OFF & USART_RX_INT_ON  & USART_ASYNCH_MODE & USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_LOW, 31);
		puts1USART((char *)SET_NMEA_OUTPUT);

		
}